﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>PrintImage</title>
<meta name="GENERATOR" content="WinCHM">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
html,body { 
	/* Default Font */
	font-family: 宋体, Arial, Helvetica, sans-serif;
	font-size: 10pt;
}
</style>

</head>

<body>
<P>
<TABLE style="BORDER-COLLAPSE: collapse" border=1 cellSpacing=0 
borderColor=#000000 cellPadding=1 width=800>
  <TR>
    <TD width=120>
      <P align=center><FONT size=2>定义</FONT></P></TD>
    <TD width=680><FONT size=2><STRONG><FONT color=#0000ff>C++：</FONT></STRONG><br>void PrintImage(int x, int y, char* f);<br>void PrintImage2(int x, int y, char* f);<br>void PrintImageZoom(int x, int y, int w, int h, char* f);<br>void PrintImageEx(int x, int y, int w, int h, int cx, int cy, int cw, int ch, char* f);<br>void PrintImageFull(int x, int y, int w, int h, char* f);<br><br><STRONG><FONT color=#0000ff>FreeBasic：</FONT></STRONG><br>Sub PrintImage(x As Integer, y As Integer, f As ZString Ptr)<br>Sub PrintImage2(x As Integer, y As Integer, f As ZString Ptr)<br>Sub PrintImageZoom(x As Integer, y As Integer, w As Integer, h As Integer, f As ZString Ptr)<br>Sub PrintImageEx(x As Integer, y As Integer, w As Integer, h As Integer, cx As Integer, cy As Integer, cw As Integer, ch As Integer, f As ZString Ptr)<br>Sub PrintImageFull(x As Integer, y As Integer, w As Integer, h As Integer, f As ZString Ptr)<br><br><STRONG><FONT color=#0000ff>SDK_C：</FONT></STRONG><br>暂未公布<br><br><STRONG><FONT color=#0000ff>SDK_BASIC：</FONT></STRONG><br>暂未公布<br><br><STRONG><FONT color=#0000ff>SDK_Pascal：</FONT></STRONG><br>暂未公布<br><br><STRONG><FONT color=#0000ff>SDK_易语言：</FONT></STRONG><br>暂未公布<br><br></FONT></TD></TR>
  <TR>
    <TD width=120>
      <P align=center><FONT size=2>功能</FONT></P></TD>
    <TD width=680><FONT size=2><br>在图像中贴图。<br><br></FONT></TD></TR>
  <TR>
    <TD width=120>
      <P align=center><FONT size=2>参数</FONT></P></TD>
    <TD width=680><FONT size=2><br><STRONG><FONT color=#0000ff>x：</FONT></STRONG><br>贴图起点横坐标。<br><br><STRONG><FONT color=#0000ff>y：</FONT></STRONG><br>贴图起点纵坐标。<br><br><STRONG><FONT color=#0000ff>f：</FONT></STRONG><br>贴图文件路径或内存地址，受 LoadMode 设置载入模式的影响。<br><br><STRONG><FONT color=#0000ff>w：</FONT></STRONG><br>贴图宽度 
      [可用于图像缩放]。<br><br><STRONG><FONT color=#0000ff>h：</FONT></STRONG><br>贴图高度 
      [可用于图像缩放]。<br><br><STRONG><FONT color=#0000ff>cx：</FONT></STRONG><br>裁剪起点横坐标。<br><br><STRONG><FONT color=#0000ff>cy：</FONT></STRONG><br>裁剪起点纵坐标。<br><br><STRONG><FONT color=#0000ff>cw：</FONT></STRONG><br>裁剪宽度。<br><br><STRONG><FONT color=#0000ff>ch：</FONT></STRONG><br>裁剪高度。<br><br></FONT></TD></TR>
  <TR>
    <TD width=120>
      <P align=center><FONT size=2>返回值</FONT></P></TD>
    <TD width=680><FONT size=2><br>无返回值。<br><br></FONT></TD></TR>
  <TR>
    <TD width=120>
      <P align=center><FONT size=2>补充说明</FONT></P></TD>
    <TD width=680><FONT size=2><br>PrintImage [普通贴图，按dpi计算原图大小]<br>PrintImage2 [普通贴图，按像素计算原图大小]<br>PrintImageZoom [可缩放贴图]<br>PrintImageEx [可缩放可裁剪贴图]<br>PrintImageFull [画刷矩形填充贴图]<br></FONT></TD></TR>
  <TR>
    <TD width=120>
      <P align=center><FONT size=2>使用范例</FONT></P></TD>
    <TD width=680><FONT size=2><br><STRONG><FONT color=#0000ff>C++：</FONT></STRONG><br>无范例。<br><br><STRONG><FONT color=#0000ff>FreeBasic：</FONT></STRONG><br>无范例。</FONT></TD></TR></TABLE></P></BODY></HTML>